import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/emergency_task_user_entity.g.dart';
export 'package:enterprise_v6_app/generated/json/emergency_task_user_entity.g.dart';

/// 任务指令关联用户
@JsonSerializable()
class EmergencyTaskUserEntity {
  EmergencyTaskUserEntity();

  factory EmergencyTaskUserEntity.fromJson(Map<String, dynamic> json) => $EmergencyTaskUserEntityFromJson(json);
  late String createBy = '';
  late String createById = '';
  late String createDate = '';
  late String deleted = '';
  late String id = '';
  late String taskInstructions = '';
  late String updateBy = '';
  late String updateById = '';
  late String updateDate = '';
  late String userId = '';
  late String userName = '';

  Map<String, dynamic> toJson() => $EmergencyTaskUserEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}
